package com.accenture.adf.newcodington.module16.sample.basic;

/**
 * MyCalculatorTryIt domain class
 */
public class MyCalculatorTryIt {

	/**
	 * Method to accept two integers for calculating total
	 * 
	 * @param a
	 * @param b
	 * @return
	 */
	public int addNumbers(int a, int b) {

		// Perform calculation
		int res = a + b;

		return res;
	}

	/**
	 * Method to accept two integers for calculating difference
	 * 
	 * @param a
	 * @param b
	 * @return
	 */
	public int subtractNumbers(int a, int b) {

		// Perform calculation
		int res = a - b;

		return res;
	}

	/**
	 * Method to accept two integers for calculating product
	 * 
	 * @param a
	 * @param b
	 * @return
	 */
	public double multiplyNumbers(double a, double b) {

		// Perform calculation
		double res = a * b;

		return res;
	}

	/**
	 * Method to accept two integers for calculating quotiant
	 * 
	 * @param a
	 * @param b
	 * @return
	 */
	public double divideNumbers(double a, double b) {

		// Perform calculation
		double res = a / b;

		return res;
	}

}
